/*
	重定位代码到DRAM 阶段1
	任务:
		1. disable watchdog
		2. set sp
		3. memory init
		4. 搬移SD卡49扇区处代码, 到DRAM中
*/

.global _start

_start:
	ldr r0, =0xE2700000
	mov r1, #0
	str r1, [r0]

	ldr sp, =0xD0037D80

	bl mem_init

	bl code_transfer

halt:
	b halt
